# 搜索文件
cmake_minimum_required(VERSION 3.10)

set(project_name devtest)  # TODO 根据需要修改
project(${project_name} C CXX)

aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/src src)
add_library(srcCode STATIC ${src})
target_include_directories(
    srcCode
    PUBLIC inc
)
if (UNIT_TEST)
    set(staticLib ${staticLib} srcCode PARENT_SCOPE)
    return()
endif()
